package com.example.educationblockchain.entity;

import org.springframework.data.mongodb.core.mapping.Document;

@Document(collection = "test")
public class MongoTest {
    private String x;

    private String y;

    public MongoTest() {
    }

    public MongoTest(String x, String y) {
        this.x = x;
        this.y = y;
    }

    public String getX() {
        return x;
    }

    public void setX(String x) {
        this.x = x;
    }

    public String getY() {
        return y;
    }

    public void setY(String y) {
        this.y = y;
    }

    @Override
    public String toString() {
        return "MongoTest{" +
                "x='" + x + '\'' +
                ", y='" + y + '\'' +
                '}';
    }
}
